<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>休假申请</title>
</head>
<body>
<div id="container" class="main">
	<form id="vacationRequestForm" method="post">
		<input id="vacationId" name="vacationId" type="hidden"  value="<c:out value='${vacationRequest.vacationId}'/>"/>
		<input id="drafterCode" name="drafterCode" type="hidden"  value="<c:out value='${vacationRequest.drafterCode}'/>"/>
		<input id="drafter" name="drafter" type="hidden"  value="<c:out value='${vacationRequest.drafter}'/>"/>
		<input id="draftOrgCode" name="draftOrgCode" type="hidden"  value="<c:out value='${vacationRequest.draftOrgCode}'/>"/>
		<input id="topOrgCode" name="topOrgCode" type="hidden"  value="<c:out value='${vacationRequest.topOrgCode}'/>"/>
		<input id="topOrgName" name="topOrgName" type="hidden"  value="<c:out value='${vacationRequest.topOrgName}'/>"/>
		<input id="draftOrg" name="draftOrg" type="hidden"  value="<c:out value='${vacationRequest.draftOrg}'/>"/>
		<input id="createTime" name="createTime" type="hidden"  value="<fmt:formatDate value="${vacationRequest.createTime}" pattern="yyyy-MM-dd hh:mm:ss" />"/>
		<input id="formId" name="formId" type="hidden"  value="<c:out value='${formId}'/>"/>
		<input id="workEffortId" name="workEffortId" type="hidden"  value="<c:out value='${workEffortId}'/>"/>
		<input type="hidden" name="fileType" id="fileType" value=""/>
		<input type="hidden" name="fileReadOnly" id="fileReadOnly" value="true"/>
		<input id="docId" name="docId" type="hidden"  value="<c:out value='${vacationRequest.vacationId}'/>"/>
		
		<table class="inputTable" cellpadding="0" cellspacing="0">
			<caption>休假申请</caption>
			<tr>
				<td class="staticTdNW" style="width: 15%">标题：</td>
				<td class="dynamicNW" style="width: 80%">
					<input id="title" name="title" type="text" class="easyui-textbox" style="width:80%" value="<c:out value='${vacationRequest.title}'/>"/>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">休假原因：</td>
				<td class="dynamicNW">
					<input id="vacationReason" name="vacationReason" class="easyui-textbox" data-options="multiline:true" style="width:80%;height:100px;" value="<c:out value='${vacationRequest.title}'/>"/>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">附件：</td>
				<td class="dynamicNW">
					<div id="fileDiv"></div>
				</td>
			</tr>
			
			<tr>
				<td class="staticTdNW">附件2：</td>
				<td class="dynamicNW">
					<div id="fileDiv2"></div>
				</td>
			</tr>
		</table>
	</form>
</div>
<script type="text/javascript">
<%@ include file="/pages/jsp/commom/validator.js" %>
<%@ include file="/pages/jsp/vacationRequest/vacationRequestNew.js" %>
</script>
</body>
</html>